package com.exam.mysql;

import com.exam.entity.TempAnswerHistory;
import com.exam.entity.TempAnswerHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TempAnswerHistoryDao {
    long countByExample(TempAnswerHistoryExample example);

    int deleteByExample(TempAnswerHistoryExample example);

    int deleteByPrimaryKey(Integer temphistoryid);

    int insert(TempAnswerHistory record);

    int insertSelective(TempAnswerHistory record);

    List<TempAnswerHistory> selectByExample(TempAnswerHistoryExample example);

    TempAnswerHistory selectByPrimaryKey(Integer temphistoryid);

    int updateByExampleSelective(@Param("record") TempAnswerHistory record, @Param("example") TempAnswerHistoryExample example);

    int updateByExample(@Param("record") TempAnswerHistory record, @Param("example") TempAnswerHistoryExample example);

    int updateByPrimaryKeySelective(TempAnswerHistory record);

    int updateByPrimaryKey(TempAnswerHistory record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table temp_answer_history
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<TempAnswerHistory> list);
}